﻿using Company.Core;
using Company.Demo.Views;
using Company.Share;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows;
using ToolKit.Mvvm;
using ToolKit.Mvvm.Interfaces;

namespace Company.Demo
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : ApplicationBase
    {
        public new static App Current => (App)Application.Current;
        public override Window CreateShell()
        {
            return Container.GetService<ShellView>();
        }
        public override void ConfigureModules(IModuleManager moduleManager)
        {
            moduleManager.AddModule<ShellModule>();
            moduleManager.AddModule<CoreModule>();
            moduleManager.AddModule<ShareModule>();
        }
    }
}
